package com.itgungnir.designpattern.nullobject;

public class Test {
	public static void main(String[] args) {
		User user1 = UserFactory.getInstance().getUserByName("Jack");
		user1.introduce();

		User user2 = UserFactory.getInstance().getUserByName("Rose");
		user2.introduce();

		User user3 = UserFactory.getInstance().getUserByName("Tom");
		user3.introduce();

		User user4 = UserFactory.getInstance().getUserByName("Jerry");
		user4.introduce();
	}
}